//#include "popmenu.h"
//#include <QPushButton>

//PopMenu::PopMenu(QPushButton *button, QWiget *parent) : QMenu(parent), b(button)
//{

//}

//void PopMenu::showEvent(QShowEvent *event)
//{
//    QPoint p = this->pos();
//    QRect geo = b->geometry();
//    this->move(p.x()+geo.width()-this->geometry().width(), p.y());
//}
